package net.net23.sysdent.ui;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

public abstract class AutocompleteComponent {

	protected List<Set<String>> providers;

	public void addProvider(Set<String> autocompleteProvider) {
		if (providers == null) {
			providers = new ArrayList<Set<String>>();
		}
		providers.add(autocompleteProvider);
	}

	public abstract void setupAutocomplete();

}
